package com.example.cstr.mapper;

import com.example.cstr.entity.EducationTrainProject;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface EducationTrainProjectMapper {
    int deleteByPrimaryKey(Integer etpId);

    int insert(EducationTrainProject record);

    int insertSelective(EducationTrainProject record);

    EducationTrainProject selectByPrimaryKey(Integer etpId);

    int updateByPrimaryKeySelective(EducationTrainProject record);

    int updateByPrimaryKey(EducationTrainProject record);

    List<EducationTrainProject> selectAllEducationTrainProject();

    List<EducationTrainProject> selectByEtp_parent_id(@Param("etpParentId") Integer etp_parent_id);

    List<EducationTrainProject> selectEtpIdIdByWorkId(Integer workId);
}